function get6f(){
    let  lh6f=$(".lh6f").val()
    // alert(lh6f)
    let  ch8=$("#ch8").val()
    // alert(ch8)
    let url = '/ljx/getBy6/'+lh6f;
    let url2 = '/ljx/getBy8/'+ch8;
    $.ajax({
        url: url,
        data: {lh6f:lh6f},
        type: "GET",
        success: function (data) {
            $("#lh6").text(data.lh6)
            $("#ch6f").text(data.ch6f)
            $("#ch6m").text(data.ch6m)
            $("#lh5f").text(data.lh5f)
            $("#lh5m").text(data.lh5m)
            $("#level6").text(data.level)
            $("#lh5ff").val(data.lh5f)
            $("#lh5fm").val(data.lh5m)
            // alert(data.lh7)
            // window.location.href=url2;
            $("#beizhu6f").text("6代母")
            $("#get5ff").trigger('click');
            $("#get5fm").trigger('click');
        },
        dataType: "json"
    });
}
function get6m(){
    let  lh6m=$(".lh6m").val()
    // alert(lh6m)
    let  ch8=$("#ch8").val()
    // alert(ch8)
    let url = '/ljx/getBy6/'+lh6m;
    let url2 = '/ljx/getBy8/'+ch8;
    $.ajax({
        url: url,
        data: {lh6m:lh6m},
        type: "GET",
        success: function (data) {
            $("#lh6-m").text(data.lh6)
            $("#ch6f-m").text(data.ch6f)
            $("#ch6m-m").text(data.ch6m)
            $("#lh5f-m").text(data.lh5f)
            $("#lh5m-m").text(data.lh5m)
            $("#level6-m").text(data.level)
            $("#lh5mf").val(data.lh5f)
            $("#lh5mm").val(data.lh5m)
            $("#beizhu6m").text("6代公")


            $("#get5mf").trigger('click');
            $("#get5mm").trigger('click');

        },
        dataType: "json"
    });
};